package com.yunupmall.service.admin.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunupmall.api.fordVO.BrandVo;
import com.yunupmall.api.fordentity.Brand;
import org.springframework.stereotype.Service;

import java.util.List;
public interface BrandService extends IService<Brand> {
    /**
     * 分页查询
     * @param brandVo
     * @return
     */
    Page<Brand> pageDate(BrandVo brandVo);
    /**
     * 获取List
     */
    List<Brand> getList(BrandVo brandVo);

    /**
     * 新增
     * @param brandVo
     * @return
     */
    String addData(BrandVo brandVo);

    /**
     * 删除
     * @return
     */

    String deleteDate(BrandVo brandVo);

    /**
     * 获取品牌集合
     * @return
     */
    List<Brand> queryBrandData();
}
